package ok.test;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import org.apache.lucene.util.RamUsageEstimator;

public class Main {
	public static void main(String[] args) {
		Student s1 =new Student("a", 1);
		Student s2 =new Student("b", 1);
		Student s3 =new Student("c", 1);
		Student s4 =new Student("d", 2);
		Student s5 =new Student("e", 2);
		Student s6 =new Student("f", 2);
		
		List<Student> list=new ArrayList<Student>();
		for(int i=0;i<30000000;i++) {
			list.add(new Student("a", i));
		}
		
		
		
		System.out.println(RamUsageEstimator.humanSizeOf(list));
	}
}
